﻿namespace Softserve.Pottery.Infrastructure
{
    /// <summary>
    /// Provides special wrapper for the JSON-String 
    /// </summary>
    public sealed class JSONEntity : Infrastructure.INullable
    {
        public JSONEntity(string content)
        {
            Stream = content;
        }

        public string Stream { get; private set; }

        public bool IsNull
        {
            get { return string.IsNullOrEmpty(Stream); }
        }
    }
}
